import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from './router/index.ts'
import 'bootstrap/dist/css/bootstrap.css'
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

//创建pinia实例
const pinia=createPinia();
//将持久化组件股挂载到Pinia实例中
pinia.use(piniaPluginPersistedstate)

//通过use完成路由挂载
createApp(App).use(router).use(pinia).mount('#app')
